package com.windowes.weichang.dao;

import com.windowes.weichang.pojo.DemandProject;

import java.math.BigDecimal;

public interface DemandProjectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DemandProject record);

    int insertSelective(DemandProject record);

    DemandProject selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DemandProject record);

    int updateByPrimaryKey(DemandProject record);

    DemandProject selectByItemId(Integer itemId);

    Integer countByType(int type);

    BigDecimal sumPrice(int type);
}